import Main from '@/views/Main'
import Login from '@/views/login/Login'
import BillList from '@/views/bill/BillList'
import BillConfirm from '@/views/bill/BillConfirm'
import Signature from '@/views/bill/Signature'

export default {
  routes: [{
    path: '/',
    name: 'index',
    redirect: '/Login'
  }, {
    path: '/Login',
    name: 'Login',
    component: Login
  }, {
    path: '/Main',
    name: 'Main',
    component: Main,
    redirect: '/Main/BillList',
    children: [{
      path: 'BillList',
      name: 'BillList',
      component: BillList
    }, {
      path: 'BillConfirm',
      name: 'BillConfirm',
      component: BillConfirm
    }, {
      path: 'Signature',
      name: 'Signature',
      component: Signature
    }]
  }]
}
